#ifndef TEACHINTERFACE_H
#define TEACHINTERFACE_H

#include <QWidget>
#include<QSqlQuery>
namespace Ui {
class teachInterface;
}

class teachInterface : public QWidget
{
    Q_OBJECT

public:
    explicit teachInterface(QWidget *parent = nullptr);

    void setStudentName(const QString &name);

    ~teachInterface()override;
public slots:
    void Display();

private:
    Ui::teachInterface *ui;
     //QSqlDatabase db;
    QString studentName;

};

#endif // TEACHINTERFACE_H
